<layout name="layout" />
<section class="marc news_show">
	<h1 class="Htitle">{$vo.title}</h1>
    <div class="date">
           编辑：{$vo.author}&nbsp;&nbsp;发布时间：{$vo.add_time|date="Y-m-d",###}&nbsp;&nbsp;浏览量：{$vo.view_times}</a>
       </div>
     <div class="content">
     {$vo.content}
     </div>
      <div class="next">
    
      <?php
	  $pre = M("Article")->where("id < ".$vo['id'])->order("id desc")->find();
	  $next= M("Article")->where("id > ".$vo['id'])->order("id ASC")->find();
	  ?>
      上一篇：<a href="{:U('Article/view/?id='.$pre['id'])}">{$pre.title}</a><br>
      
      下一篇：<a href="{:U('Article/view/?id='.$next['id'])}">{$next.title}</a><br>
      </div>
    
</section>
